﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;


public class GameController : MonoBehaviour {

    public Text PauseText;

	// Use this for initialization
	void Start () {
        Time.timeScale = 0.0f;
	}
	
	// Update is called once per frame
	void Update () {
        /*
        if (Time.realtimeSinceStartup > 5.0f)
        {
            Time.timeScale = 1.0f;
        }
         */
	}

    public void OnStartClick()
    {
        Time.timeScale = 1.0f;
        PauseText.enabled = false;
    }

    public void OnStopClick()
    {
        Time.timeScale = 0.0f;
        PauseText.enabled = true;
    }
}
